<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="referrer" content="no-referrer">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>网络收藏夹|网站公告</title>
  <link rel="icon" href="favicon.ico" type="image/x-icon"/>
  <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
  <link rel="stylesheet" href="layui/css/layui.css">
  <link rel="stylesheet" href="css/common.css">
</head>
<body>
<!-- HTML -->
<div class="main" id="main">
  <blockquote class="layui-elem-quote">网站公告</blockquote>
  <form class="layui-form" action="" lay-filter="noticeForm">
    <div class="layui-form-item">
      <label class="layui-form-label">标题</label>
      <div class="layui-input-block">
        <input type="text" name="title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">发布</label>
      <div class="layui-input-inline" style="width: 50px;">
        <input type="checkbox" name="isShow" lay-skin="switch" value="1">
      </div>
      <div class="layui-form-mid layui-word-aux">开启后，公告会立即展示到首页</div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">全员通知</label>
      <div class="layui-input-inline" style="width: 50px;">
        <input type="checkbox" name="isNotice" lay-skin="switch" value="1">
      </div>
      <div class="layui-form-mid layui-word-aux">开启后，所有用户都会收到邮件通知</div>
    </div>
    <div class="layui-form-item layui-form-text">
      <label class="layui-form-label">内容</label>
      <div class="layui-input-block">
        <div id="content"></div>
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-input-block">
        <button class="layui-btn" lay-submit lay-filter="formDemo">保存公告</button>
        <button type="button" class="layui-btn layui-btn-primary" id="delete">删除</button>
      </div>
    </div>
  </form>
</div>
<script src="js/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/common.js"></script>
<script type="text/javascript" src="plugin/wangEditor.min.js"></script>
<script src="layui/layui.js"></script>
<script src="js/notice.js"></script>
</body>
</html>